What does the .value method do in JavaScript